<?php 
	echo $this->doctype() ?>
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head>  
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 

  <?php 
		echo $this->headMeta();
		echo $this->headTitle();
		$this->headLink()->appendStylesheet('/css/core_style.css'); 
		echo $this->headLink();
 ?>
	
</head> 
<body>
	<div id="menu">
		<ul>
		<?php foreach($this->menu as $menuItem):?>
			<li><a href="/category/index/id/<?php echo $menuItem['id']; ?>"><?php echo $menuItem['name']; ?></a></li>
			<li>
				<ul>
					<?php foreach($menuItem['items'] as $item):?>
					<li><a href="/category/index/id/<?php echo $item['id']; ?>"><?php echo $item['name']; ?></a></li>
					<?php endforeach;?>			
				</ul>
			</li>	
		<?php endforeach;?>
		</ul>
	</div>
	<div id="container">
		<?php echo $this->layout()->content ?>
	</div>
	

</body>
</html>
